Systems and methods of retrieving relevant information

ABSTRACT

The present invention provides systems and methods of retrieving the pages according to the quality of the individual pages. The rank of a page for a keyword is a combination of intrinsic and extrinsic ranks. Intrinsic rank is the measure of the relevancy of a page to a given keyword as claimed by the author of the page while extrinsic rank is a measure of the relevancy of a page on a given keyword as indicated by other pages. The former is obtained from the analysis of the keyword matching in various pads of the page while the latter is obtained from the context-sensitive connectivity analysis of the links connecting the entire Web. The present invention also provides the methods to solve the self-consistent equation satisfied by the page weights iteratively in a very efficient way. The ranking mechanism for multi-word query is also described. Finally, the present invention provides a method to obtain the more relevant page weights by dividing the entire hypertext pages into distinct number of groups.

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application is a divisional application of and claims the benefit of priority from U.S. application Ser. No. 09/757,435 to Brian Kim et al., filed Jan. 10, 2001 and entitled “Systems and Methods of Retrieving Relevant Information”, which is fully incorporated herein by reference for all purposes.

FIELD OF THE INVENTION

[0002] Generally, the present invention relates to the Internet and the World Wide Web. More specifically, the present invention relates to a systems and methods for retrieving and ranking relevant information from the Internet and World Wide Web.

BACKGROUND OF THE INVENTION

[0003] The World Wide Web (Web) is a rapidly growing part of the Internet. One group estimates it grows roughly seven million Web pages (pages) each day adding to an already enormous body of information. One study estimates there are more than two billion publicly available pages representing a growing fraction of the world's information. However, because of the Web's rapid growth and lack of central organization, millions of people cannot find specific information in an efficient manner.

[0004] To understand the problem, one must understand how the Internet and the Web are organized. The Internet is a communications infrastructure, which links computers throughout the world. It provides certain basic rules, termed protocols, by which computers can send data to each other. When a computer is ready to send the data, it uses software to break data into packets that conform to the Internet Protocol (IP) and the Transmission Control Protocol (TCP). IP governs how packets of information are sent over the Internet. TCP allows one computer to send a stream of data to another by breaking the data into packets, reassembling the packets at the receiving computer, and resending any missing packets. To do this they label each packet with a unique number and send it over the network. The receiving computer uses its Internet software to put the data in order. The data can be nearly anything: text, email, images, sounds, and software.

[0005] The Web is the innovation of Tim Berners-Lee. See Berners-Lee, Weaving the Web (1999). His fundamental innovation was to provide a universal accessible hypertext medium for sharing information on the Internet. He understood that to become valuable the Web required many publishers. Because information constantly changes, it requires that any authorized person must be able to publish, correct, and read that information without any central control. Thus, there is no central computer governing the Web, and no single network or organization that runs it. To publish information, a person only needs access to a Web server, a computer program that shares Web resources with other computers. The person operating the Web server defines who contributes, modifies and accesses the information. In turn, to access that information, a person only needs a client computer system, and a computer program, such as a browser, which can access the server to read, edit, and at times correct the information displayed.

[0006] To be universally accessible, the Web is as unconstrained as possible. To allow computers to talk to each other everywhere, there are only a few basic rules: all resources on the Web, termed Web pages or pages, are identified by an address, termed a URL (Uniform Resource Locator). Once a page has a URL, it can be published on a Web server and found by a browser. For example, one URL is http://www.amazon.com/. The letters to the left of the double slashes tell the browser what protocol to use, here HTTP, to look up the page. The part to the right—www.amazon.com—identifies the Web server where the page exists. HTTP, a computer language, specifies which computer talks first and how to talk in turn. HTTP supports hypertext, non-sequential text, which links the pages together. Hidden behind a hypertext word, phrase, symbol, or image is the destination page's URL, which tells the browser where to locate the page. The loosely linked sets of pages constitute an information web. Once the computers agree to this conversation, they need a common language so they can understand each other. If they use the same software, they can proceed, otherwise they can translate to HTML (Hypertext Markup Language), a computer language supporting hypertext, and the language most persons currently use to write pages. It should be understood, however, that other languages such as XML, SMGL, as well as Java and JavaScript could be used to write pages.

[0007] In short, the Web is all information accessible to computers, where a URL identifies each unit of information. The Web has no central index to the pages, such as that contained in a public library. Instead, the pages have addresses and are loosely organized by links to each other. Thus, the Web provides little structure to support retrieval of specific information. Instead, the Web creates a hypertext space in which any computer can link to any other computer.

[0008] Practically any computer can display pages through a browser such as Microsoft Internet Explorer or Netscape Communicator once connected to the Internet. Upon request the browser will fetch the page, interpret the text and display the page on the screen. The page may contain hypertext links, which are typically represented by text or an icon that is highlighted, underlined, and/or shown in a different color. The text or icon is referred to as anchor text. To follow the link, the user will move the cursor over the anchor text and click the mouse.

[0009] Several techniques exist for retrieving specific information. If the, URL of the page is known, browsing the page suffices. If the Web site is known, one can go to the Web site map, search the site, or follow the links. This often works when the information is known to exist within a Web site. However, if the URL and site are unknown, finding information requires other techniques. Two known techniques are Web directories and search engines. For example, Yahoo! classifies information in a hierarchy of subjects, such as Computer & Internet and Education. One chooses a category, then successive subcategories that seem likely to lead one to the information sought. But the categories are not mutually exclusive so multiple paths appear in the hierarchy. Once a category is selected, the previous category disappears forcing one to retrace one's steps to consider the other paths not taken. The further the search goes into the hierarchy, the more difficult it is to remember what other paths could be explored. To assist in searching the categories, Yahoo! provides phrase searching, and logical operators such as AND, OR, and NOT to specify which keywords must be present or absent in the pages, truncation of keywords, name searching, and field searching, e.g., in the title or URL.

[0010] By late-1999, Yahoo! reported indexing more than 1.2 million pages, but this is relatively small compared to the Web. In late 1999, Yahoo! had about 100 editors compiling and categorizing Web sites, but even if this number greatly increases, Yahoo! is not expected to cover the entire Web.

[0011] Web search engines are an important means of information retrieval of the pages. Search engines such as Google, FAST, AltaVista, Excite, HotBot, Infoseek, and Northern Light have fuller coverage of the Web. In Searching the World Wide Web, Science 280, 98-100 (1998), Lawrence and Giles reported that the major search engines covered less than half of the 320 million pages. More recently, Google and FAST reported indexing over a billion pages. However, as search engines increase their coverage, they exacerbate an existing problem.

[0012] Search engines pull up all pages meeting the search criteria, which can overwhelm the searcher with thousands of irrelevant pages. Once they arrive, the searcher must review them one page at a time to find the relevant ones. Even if they could download many pages, average searchers are not always willing to take a look at more than a display of pages. Therefore it is important to present the most relevant pages to the searchers at the top of the list, say in first twenty results.

[0013] Because thousands of pages may outwardly match the search criteria, the major search engines have a ranking function that will rank higher those pages having certain keywords in certain locations such as the title, or the Meta tag, or at the beginning of a page. This does not, however, typically put the most relevant page at the top of the list; much less assess the importance of the page relative to other pages. Moreover, relying solely on the content of the page itself—including the Meta tags which do not appear when displayed—to rank the page can be a major problem to the search engine. A web author can repeat ‘hot” keywords many times, termed spamming, for example, in the title or Meta tags to raise the rank of a given page without adding value.

[0014] Unlike standard paper documents, the Web includes hypertext, which links one page to another and provides significant information through the link structure. For example, the inbound links to a page help to assess the importance of the page. Because some of the inbound links originate from authors other than the one who wrote the page being considered, they tend to give a more objective measure of the quality or importance of the pages. By making a link to other page, the author of the originating page endorses the destination page. Thus, to make your page highly regarded in this kind of ranking system, you need to convince a lot of other people to put links to your page in their pages.

[0015] Simple counting of inbound links, however, will not tell us the whole story. If a page has only one inbound link, but that link comes from a highly weighted page such as the Yahoo! home page, the page might be reasonably ranked higher than a page that has several inbound links coming from less visited pages.

SUMMARY OF THE INVENTION

[0016] The present invention relates to systems and methods of information retrieval. In one embodiment, a search engine and a method produces relevant search results to keyword queries. The search engine includes a crawler to gather the pages, indexer(s) to extract and index the URLs of pages with keywords into indexed data structure(s), and ranks hypertext pages based on intrinsic and extrinsic ranks of the pages based on content and connectivity analysis. The page weights can be calculated based on an iterative numerical procedure including a method for accelerating the convergence of the scores. The search engine can also rank pages based on scores of a multi-keyword query. The ranking scores can be based on using the entire set of hypertext pages and/or a subset based on topic or the like.

[0017] One embodiment of the present invention provides a general-purpose search engine a method to rank the pages without limitation to topic according to the quality of individual pages. This embodiment of the present invention enables the search engine to present the search results in such a way that the most relevant results appear on the top of the list.

BRIEF DESCRIPTION OF THE DRAWINGS

[0018] These and other aspects and features of the present invention will become apparent to those ordinarily skilled in the art upon review of the following description of specific embodiments of the invention in conjunction with the accompanying figures, wherein:

[0019]FIG. 1 illustrates an embodiment of the architecture of the search engine;

[0020] FIGS. 2A-2C illustrate embodiments of the Web page database;

[0021]FIG. 3 illustrates the extrinsic rank and the intrinsic rank of a Web page;

[0022]FIG. 4 the architecture of the ranker of the search engine;

[0023]FIG. 5 illustrates the page weight generator of the ranker; and

[0024]FIG. 6 illustrates the architecture of the mixer of the page weight generator.

DETAILED DESCRIPTION OF THE EMBODIMENTS

[0025] The present invention will now be described in detail with reference to the drawings, which are provided as illustrative examples of the invention so as to enable those skilled in the art to practice the invention. Notably, the figures and examples below are not meant to limit the scope of the present invention. Moreover, where certain elements of the present invention can be partially or fully implemented using known components, only those portions of such known components that are necessary for an understanding of the present invention will be described, and detailed descriptions of other portions of such known components will be omitted so as not to obscure the invention. Further, the present invention encompasses present and future known equivalents to the known components referred to herein by way of illustration.

[0026] The present invention relates to retrieving relevant pages from hypertext page collections. For conciseness, we describe a search engine for collecting, storing, indexing, and ranking Web pages in response to searcher queries. However, one of ordinary skill will understand after review of the specification that the search engine can be used on many other collections of hypertext pages.

[0027]FIG. 1 illustrates one embodiment of a search engine 10, which includes a crawler 12 to fetch pages from the Web 13. In one embodiment, the search engine 10 is written in C++, runs on the Microsoft 2000 Server operating system, preferably in parallel using suitable Intel Pentium processors. It should be clear, however, that it is not essential to the invention that this hardware and operating system be used, and other hardware and operating systems can be used such as Solaris or Linux. Preferably, we run multiple instances of the crawler 12 to increase its capacity to crawl and re-crawl enormous hypertext document collections such as pages on the Web. The crawler 12 stores the fetched pages in a Web page database 14, which includes data structures optimized for fast access of the fetched pages as explained below in connection with FIGS. 2A-2C.

[0028] The crawler 12 also sends the fetched pages to a link extractor 16, which finds the outbound links in the pages and sends the source and destination URLs of the links to a URL management system (UMS) 18. The UMS 18 assigns an identification number to each URL and maintains a database of identification number and URL pairs preferably in a hash table. The UMS 18 checks the URLs one by one, and if a new URL is found, it is sent to the crawler 12 to be written in the Web page database 14 preferably through a rate controller 20. The rate controller 20 buffers the URLs to be crawled, and sends the URLs to the crawler 12 only when the Web site providing the new page has not received a crawling request for a certain amount of time. This ensures a Web site does not get excessive crawling requests.

[0029] The search engine 10 provides an indexing function in the following manner. The anchor text and link extractor 22 writes the source URL identification number, the destination URL identification number, and associated anchor text to the anchor text and link database 24. Anchor text is a section of text, an icon, or other element in a page that links to another page. The indexer 26 extracts the anchor text from the anchor text and link database 24 and parses the keywords from the Web page database 14 and generates an indexed database 28. The indexer 26 stores each keyword and its associated list of URL identification numbers for fast retrieval.

[0030] The search engine 10 ranks the pages in the following manner. The ranker 30 reads the link structure from the anchor text and link database 24, calculates the page weight, reads the indexed words from the indexed database 28, and calculates the rank value for each keyword and page pair. The ranker 30 stores the page weight and the rank values in the indexed database 28. The ranker 30 also builds a ranked database 32 as a subset of the indexed database 28 for a single keyword query.

[0031] One purpose of the search engine is to respond to a search query with the search results in order of relevancy. The ranker 30 measures the relevancy of each page by examining its content, its page weight, the weight of the links to the page, and the weight of the linking pages. The words, the font size, and the position of the words define the content of the page. For example, the ranker 30 compares the font size of each word relative to other words in the page to determine how important is the word. The position of the word in the page also may matter. For example, if the word is in the title, it may be desirable to give it more weight than if the word appears at the bottom of the page. Page weight is the probability of visitors viewing the page. The ranker 30 determines the intrinsic rank of the page by multiplying the content score by the page weight.

[0032] The ranker 30 measures the weight of the links to the page by examining the text associated with the link such as the anchor text. For example, the ranker 30 gives more credit to a link from a page with the keyword in its anchor text. The ranker 30 determines the extrinsic rank of the page by multiplying the link weight by the page weight.

[0033] When a query server 34 receives a query from a searcher 36, it collects the relevant pages from the ranked database 32 and indexed database 28. Given the huge size of these databases, the pages are stored across multiple instances of search nodes. Each search node in the query server 34 collects a fixed number of the most relevant results from the databases it manages and returns them to query server 34. The query server 34 then sorts and ranks the results from these different nodes and presents the most relevant results, typically ten, at a time.

[0034] FIGS. 2A-2C illustrate that the data structures of the Web page database 14 typically need to accommodate different size pages. As shown in FIG. 2A, pages 1-4 and 6 show that most compressed pages are roughly the same size, that is, not exceeding, for example, 6K bytes, while page 5 represents that some are larger. In FIG. 2B, the data structure stores pages adjacent to each other in a record tile to save storage space, and provides an index file containing the starting address of each page. This requires the Web page database 14 engage in two steps for retrieving a page. In FIG. 2C, the preferred data structure leverages the fact that many of the compressed pages are below a threshold, e.g., 6K bytes, and stores those pages in a fixed record large enough to contain 85% of the pages. If the page is smaller, the fixed record has some amount of empty space. If the page is larger, the Web page database 14 stores as much of the page as possible in the fixed record and the rest in a record file. Thus, the Web page database 14 requires just one step to retrieve 85% of the pages, greatly reducing access time. One of ordinary skill would understand that it is neither essential to set the threshold at 85% of the pages, nor set the size of the fixed record to 6K bytes. To conserve storage space, a known compression technique such as the Microsoft Foundational Class (MFC) zlib library can compress the pages by 4to 1 or 3 to 1.

[0035]FIG. 3 illustrates how the ranker 30 determines the relevancy of a page by a combination of the intrinsic rank and extrinsic rank. Suppose we want to rank the relevancy of page a to a search query with keyword K.

[0036] We calculate intrinsic rank by looking at the content of page a. The author of page a can repeat the keyword K many times to claim page a is relevant to keyword K, but this relatively high content score can be adjusted by the weight of page a, that is, the importance of page a as indicated by other pages. Thus, the intrinsic rank of page a for keyword K is defined as the content score of page a multiplied by the page weight of the page a.

[0037] We calculate the extrinsic rank of page a by looking at the inbound links shown here as originating from page b and page c. Page b is shown as having one outbound link so its link weight is 1.0, while page c has two outbound links, which reduces each link weight to 0.5. The anchor weight for keyword K is obtained for each of these links. In one embodiment, anchor weight is equal to link weight if the keyword K is found in the anchor text and zero if otherwise. In another embodiment, anchor weight can have smaller value than link weight if the keyword K is not found in the anchor text but related to or in the vicinity of the anchor text. The extrinsic rank is defined as the sum of the anchor weight multiplied by the page weight of all the pages shown here as page b and page c with inbound links to page a.

[0038] The overall rank of page a can be then calculated by combining the intrinsic rank and extrinsic rank in the following formula:

WR(K;a)=IR(K;a)+e·ER(K;a)

[0039] Where the variables are defined as follows:

[0040] WR(K;a): Rank of page a for keyword K.

[0041] IR(K;a): Intrinsic rank of page a for keyword K.

[0042] ER(K;a): Extrinsic rank of page a for keyword K.

[0043] The adjustable parameter e determines the relative importance of the extrinsic rank with respect to the intrinsic rank. For instance, e=5 can be used but the value is not essential to the present invention.

[0044] Intrinsic Rank

[0045] Intrinsic rank is the measure of the importance of a page for a given keyword as claimed by the author of the page. Importance can be measured by examining the content of the page, e.g., the appearance of the keyword in the title or headings or body of the text, but this may be misleading. Some websites exaggerate the importance of their pages by repeating “hot” keywords endlessly without adding any value to the content of the page. We respect the author's claim as much as the page is worth. If the page is highly respected and frequently cited, we value author's claims more, and if otherwise, less. One solution is to use the page weight:

IR(K;a)=C(K;a) PW(a)

[0046] Here C(K;a) represents the content score of page a for keyword K and PW(a) represents the page weight for page a.

[0047] Content Score

[0048] The content score can be calculated in many ways. One embodiment is as follows:

C(K;a)=t·T(K;a)+p·P(K;a)+u·U(K;a)

[0049] Where the variables are defined as follows:

[0050] T(K;a)=1 if keyword K is found in the title of the page a and 0 otherwise.

[0051] P(K;a) represents the frequency of the keyword K in the plain text of page a. In one embodiment, P(K;a) is a constant, which prevents spamming. By plain text we mean text in the page excluding the title.

[0052] P(K;a)=1 if keyword K is found in URL and 0 otherwise.

[0053] Parameters t, p and u represent the relative importance of the title, the plain text, and the URL field.

[0054] Page Weight

[0055] Page weight of a page is defined as the probability for a user—who travels on the Web endlessly in a random but well-defined manner—to visit the page. If a page has high probability to be visited by the user, the page is more likely to be a well-known page and to have many links from other pages.

[0056] In one embodiment, we can calculate the page weight by adding a hypothetical page, termed a page weight reservoir to the collection of pages. The page weight reservoir has a bi-directional link to each page in the collection. The page weight reservoir acts as a sink for pages having no outbound links (terminal pages) and a source for pages having no inbound links. The page weight reservoir also solves the problem of pages pointing only to each other producing a loop, which would trap the user, and ensures the conservation of total page weight in the collection of pages.

[0057] The user complies with certain rules in moving from page to page. First, at each step, the user chooses an outbound link randomly and follows it to other pages. Second, if the user comes to the page weight reservoir, the user immediately chooses an outbound link randomly to the other pages. Consequently, each move from page to page is independent from prior history and it only depends on the current page.

[0058] Let LW(a→b) denote the link weight, that is, the probability of choosing a particular outbound hyperlink to page b out of all outbound links originating from page a. The probability that the user visits page a at step n after visiting page b through the link b→a is LW(b→a)·P_(n−1)(b), where P_(n−1)(b) denotes the probability that the user visits page b at step n−1. Thus, we can write the probability of the user visiting page a at step n of the random walk, P_(n)(a), by collecting the contributions from all other pages as follows: ${P_{n}(a)} = {\sum\limits_{b}^{\quad}\quad {{{LW}\left( {b->a} \right)} \cdot {P_{n - 1}(b)}}}$

[0059] This equation only applies to actual pages even though the summation variable b includes the page weight reservoir R.

[0060] We can write the probability for the user to make a random jump via the page weight reservoir R as follows: ${P_{n}(R)} = {\sum\limits_{a \neq R}^{\quad}\quad {{{LW}\left( {a->R} \right)} \cdot {P_{n}(a)}}}$

[0061] Note that the same iteration indices n are used on both sides of the equation, unlike the equation for the actual pages.

[0062] If the user continues to move from page to page, eventually the probability of visiting page a will reach an equilibrium value. Page weight of page a is defined as this equilibrium probability: ${{PW}(a)} = {\lim\limits_{n->\infty}{P_{n}(a)}}$

[0063] Thus, we have the final equation of page weight: ${{PW}(a)} = {\sum\limits_{b}^{\quad}\quad {{{LW}\left( {b->a} \right)} \cdot {{PW}(b)}}}$

[0064] Note that the sum includes the contribution from the page weight reservoir R.

[0065] Since the page weight is the probability for a user to visit a page, it can also represent the importance of each page. A highly popular site, such as the Yahoo! home page is more likely to have higher page weight than less popular and obscure pages.

[0066] Link Weight

[0067] Link weight is the probability for the user to choose a particular outbound hyperlink out of all outbound links originating from a page. Link weight also represents the importance of the link. In one embodiment, all link weights from a given page a can have a uniform value corresponding to 1/N_(out)(a), where N_(out)(a) is the total number of links outbound from page a, including the extra link to the page weight reservoir. Therefore, N_(out)(a) is greater than or equal to one for every page and there is no terminal page in the collection. In another embodiment, not every outbound link is equally important. Thus, we give each link a different weight depending on several factors such as the offset of the link (i.e., position on the page) and the size of the paragraph where the link is located. A link readily visible upon the loading of a page can have a higher link weight than one visible only after scrolling down. The search engine can also assign different weights for external links—links that point to pages in other domain—and internal links—links that point to pages in the same domain. Many times the internal links serve as navigational tools rather than leading to new subjects represented by the anchor texts. The sum of all link weights from a page equals one: ${\sum\limits_{b}^{\quad}\quad {{LW}\left( {a->b} \right)}} - 1$

[0068] If there is no link from one page to another, the corresponding link weight is zero.

[0069] Extrinsic Rank

[0070] Extrinsic rank is a measure of the importance of a page for a given keyword as indicated by other pages. It measures the authoritativeness of a page on a given topic or keyword as regarded by public. Once the page weight is obtained the extrinsic rank can be calculated for each keyword and page pair. Extrinsic rank is defined as follows: ${{ER}\left( {K;a} \right)} = {\sum\limits_{b}^{\quad}\quad {{{AW}\left( {K;{b->a}} \right)} \cdot {{PW}(b)}}}$

[0071] Here, A W(K;b→a) is the anchor weight. It represents the weight given to anchor text found in page b linking to page a for a given keyword K.

[0072] The equation multiplies the anchor weight of a link by the weight of the originating page and sums each product for all fetched pages. The anchor weight can be set in many different ways. The anchor text for a given link is useful for setting the anchor weight. We can also consider the related text of the page, which is either nearby the anchor text and/or related to the same topic. Thus, related headings, text in the vicinity of the anchor, and other anchor text on the same page may be useful for setting the anchor weight.

[0073] In one embodiment, A W(K;b→a)=LW(b→a) if the keyword is in the anchor text and zero if not. In another embodiment, we assign anchor weight less than or equal to the link weight if the keyword is found in text nearby or related to the anchor text. Thus, related headings, text in the vicinity of the anchor, and other anchor text on the same page can be used to set the anchor weight.

[0074] Multi-Keyword Queries

[0075] In another embodiment, the ranker 30 calculates the rank of pages for multi-keyword queries in the following manner. For simplicity, let's consider two keyword query, K₁,K₂.

[0076] The multi-keyword rank value is as follows:

WR(K ₁ ,K ₂ ;a)=IR(K ₁ ,K ₂ ;a)+e·ER(K ₁ ,K ₂ ;a).

[0077] Where the intrinsic rank for the multi-keyword query is obtained as,

IR(K ₁ ,K ₂ ;a)=C(K ₁ ,K ₂ ;a)·PW(a).

[0078] Here C(K₁,K₂;a) is the multi-keyword content score defined as

C(K ₁ ,K ₂ ; a)=C(K ₁ {circumflex over ( )}K ₂ ; a)·PX(K ₁ ,K ₂ ; a)

[0079] Where PX(K₁,K₂;a) is the proximity value between two keywords, K¹ and K² in page a. The proximity value has the maximum value of one when K² immediately follows K¹ and decreases to a minimum value as the distance between two keywords grows. The proximity value decreases to its minimum, such as 0.1, when two keywords are separated by more than 10 words, and K₁{circumflex over ( )}K₂ represents the Boolean AND operation of the two keywords.

[0080] For computing the extrinsic rank, ER(K₁,K₂;a), we need to also introduce the concept of partial extrinsic rank as explained in the following section.

[0081] The partial extrinsic rank is defined as: ${{PER}\left( {{UA};a} \right)} = {\sum\limits_{c}^{\quad}\quad {{{AW}\left( {{UA};{c->a}} \right)} \cdot {{PW}(c)}}}$

[0082] Where page c represents all pages, which contains link to page a with the identical anchor text, UA. In other words, we collect the contributions to extrinsic rank from all pages with identical anchor text into one partial extrinsic rank, which saves computational resources when calculating proximity value. Thus, the partial extrinsic rank is very useful for a multi-keyword query.

[0083] In another embodiment, partial extrinsic rank can be used for a single keyword query and will be the sum of partial extrinsic ranks over the identical anchor text: ${{ER}\left( {K;a} \right)} = {\sum\limits_{{UA}{(K)}}\quad {{PER}\left( {{{UA}(K)};a} \right)}}$

[0084] Where UA(K) denotes the identical anchor text containing keyword K.

[0085] In one embodiment, the ranker 30 uses the partial extrinsic rank to obtain the extrinsic rank for a multi-keyword query in the following manner: ${{ER}\left( {{K_{1},\quad K_{2}};a} \right)} = {\sum\limits_{{UA}{({K_{1},\quad K_{2}})}}^{\quad}\quad {{{PER}\left( {{{UA}\left( {K_{1},\quad K_{2}} \right)};a} \right)} \cdot {{PX}\left( {{K_{1},\quad K_{2}};{{UA}\left( {K_{1},\quad K_{2}} \right)}} \right)}}}$

[0086] UA(K₁,K₂) is the identical anchor text containing both keywords K₁ and K₂. PX(K₁,K₂;UA(K₁, K₂)) is the proximity value of the keywords K₁ and K₂ within the identical anchor text UA(K₁,K₂). To facilitate the extrinsic rank calculation of multi-keyword query, the indexed database 28 contains a field to store the partial extrinsic rank for each identical anchor text and stores all offset for each keyword in the anchor text. Therefore, to calculate the extrinsic rank for multi-word query, we can find the entry for K₁ and K₂ in indexed database 28. For each page there will be a list of identical anchor text with its identification number, the offset of the keyword in the anchor text, and the partial extrinsic rank. From the identical anchor text identification number and offset, the ranker 30 can obtain the proximity value and it collects the product of partial extrinsic rank and proximity value.

[0087] In another embodiment, the ranker 30 associates a list of related words for selected broad topic keywords, such as “science” or “sports”. In this way we can also solve the problem of synonyms, such as finding the pages for “automobile” when querying with “car.”

[0088] The related words table can be as follows: Word Related words Automobile {<auto, 1.0>, <car, 1.0>, <truck, 0.9>, . . . } Sports {<football, 1.0>, <basketball, 0.9>, <tennis, 0.9>, . . . } . . . . . .

[0089] The numbers in the table will be used for the anchor weight. Using these tables, when we calculate the extrinsic rank for “automobile”, for example, we can collect the keyword “car” at the same time. Further, the anchor text containing “truck” contributes, but with less weight.

[0090] As illustrated in FIG. 4, the ranker 30 includes a link structure sorter 38, which extracts records of the link structure from the anchor text and link database 24, and sorts the records in the order of source URL identification number. The sorted records are written in the link database 40. The page weight generator 42 reads the link database 40 and calculates the page weight for the fetched pages and stores them in the page weight database 43. The intrinsic rank generator 44 reads the indexed database 28 to calculate the content score and multiplies it with the page weight read from the page weight database 43 to calculate the intrinsic rank for a given keyword and URL pair. The intrinsic rank generator 44 reads one keyword at a time from the indexed database 28. The indexed database 28 stores a set of records where each record includes the URL identification number and bit fields to indicate the presence and proximity of a given keyword in the title, the anchor text of the inbound link, text related to the anchor text as described earlier, in the plain text, and/or in the URL of the page. Another bit field of the record can be set when the URL is the top-level of a given host.

[0091] The partial extrinsic rank generator 47 reads several input files: the anchor text and link database 24, the indexed database 28, and the page weight database 43, and calculates the partial extrinsic rank values for each identical anchor text and URL pair. The resulting partial extrinsic rank is written back to the indexed database 28 to be used for extrinsic rank for single and multi-word query.

[0092] The extrinsic rank generator 45 collects the partial extrinsic rank for each keyword and URL pair. In the case of a multi-keyword query, the extrinsic rank generator 45 collects all partial extrinsic ranks for identical anchor text containing the keywords.

[0093] Intrinsic and extrinsic rank values are sent to the merger module 46 to be combined into the final rank. The merger module 46 updates the rank of each URL in the indexed database 28. The merger module 46 collects the top-ranked URLs (e.g., top 400 URLs) and writes them in the ranked database 32 in descending order.

[0094]FIG. 5 illustrates the page weight generator 42 of the ranker 30. The function 50 initializes the page weight vector X to a constant such as 1. The connectivity graph G 48, representing the link structure of all of the fetched pages, is constructed from the link database 40. The function 52 takes the connectivity graph G 48 and the new input page weight vector X 54 and computes the output page weight vector Y. The function 56 tests for convergence. If the output page weight vector Y is satisfactorily close to the input page weight vector X within a predetermined tolerance, typically in the order of 10⁻⁶ then the iteration stops and the final page weight vector is written to the page weight database 43. If the convergence is not achieved, the function 56 passes the input and output page weight vectors, X and Y, to the mixer module 58, which mixes them to generate the new input page weight vector X 54, and the iterative process repeats until the convergence is reached. In function 56, we use a normalized error function to measure the convergence as follows: $e = \frac{\sum\limits_{i}^{\quad}\quad \left( {y_{i} - x_{i}} \right)^{2}}{\left\{ {\sum\limits_{i}^{\quad}\quad x_{1}} \right\}^{2}}$

[0095] Where x_(i) and y_(i) represent the components of the input page weight vector X and output page weight vector Y.

[0096] As explained below, in one embodiment the extended Anderson Mixing method calculates the page weights iteratively as described in V. Eyert, A Comparative Study on Methods for Convergence Acceleration of Iterative Vector Sequence, J. Comp. Phys. 124, 271-285 (1996), which disclosure is incorporated by reference. By analyzing the history of the mixing and the response of the system during a few past iterations, the system teaches itself to construct the next input vector in the most efficient way. The mixing scheme can achieve the same accuracy in about seven iterations for what appears to take others more than 200 iterations.

[0097] The page weight for the fetched pages can be found by solving the following matrix equation:

X=G·X

[0098] X is a N×1 column matrix representing the page weights for all N fetched pages. N×N square matrix G represents the connectivity graph. The off-diagonal elements of G represent the link connectivity between the pages. The diagonal elements of the matrix G are all equal to zero. The solution vector X is an eigenvector of the matrix G with the eigenvalue one. In principle, the solution vector X can be obtained from solving this matrix equation exactly. In dealing with the World Wide Web, however, the number of total pages N is very large—order of hundred of millions or billions—and solving this matrix equation exactly is impractical in terms of computer memory and CPU time. Thus, we employ the iterative method. We start with a guess for X in the right-hand-side to obtain X in the left-hand-side. In general, the input and output X will not be same and we combine the input and output X to prepare new input X and iterate this process until they become self-consistent within the preset tolerance.

[0099]FIG. 6 illustrates one embodiment of a mixer module 58. The function 56 passes the input page weight vector X 57 and output page weight vector Y 59 to the mixer module 58 when convergence is not achieved. A function 60 calculates the residual vector R=Y−X. When the residual vector R has negligible magnitude, such as 106 it signifies satisfactory convergence and the iteration can stop. The mixer module 58 includes a function 62 which calculates the general residual vector, Q, which is the linear combination of the residual vectors of current and previous iterations: $Q = {R + {\sum\limits_{j = 1}^{M}\quad {b_{j}\left( {R^{j} - R} \right)}}}$

[0100] Here, R is the residual vector of current iteration and R^(j) is the residual vector of j-th previous iteration. M is the history level and is typically 3 or 4. The coefficients b_(j) are determined by the requirement that they yield that particular linear combination, which minimizes the magnitude of the general residual vector, <Q|Q>. Minimizing with respect to the coefficients b_(j) we obtain the linear equation system, which can be solved using conventional matrix algebra. Once 0 is obtained, the function 64 calculates the new input page weight vector can be obtained using:

X ^(new) =X+βQ

[0101] Here β is a constant parameter and the value of 0.5 works usually well.

[0102] In function 66, the mixer module 58 saves the current residual vector R 60 to the residual vector database 68 to be used for next iteration. If there are already M residual vectors in the database 68, we discard the oldest residual vector.

[0103] In another embodiment, the present invention provides a method for assigning the ranking scores for multi-keyword query. When user enters more than one keyword for query, we combine the ranking scores for each keyword to obtain the final ranking scores. We give slightly more weight to the first word and the weight gets smaller for following words until it levels off at about 4th word. In one embodiment, the weight for i-th keyword, w_(i), is obtained as follows: $w_{i} = {f_{i}/{\sum\limits_{j = 1}^{n}f_{j}}}$

ƒ₁=ƒ₀+(1−ƒ₀)e ^(−i/σ)

[0104] Here n represents the number of keywords in the query. The constant parameters ƒ₀ and σ has typical values of 0.5 and 1, respectively.

[0105] In another embodiment, the present invention provides a method for calculating ranking scores by dividing the entire hypertext pages into distinct number of groups. The page weight can be refined further by classifying pages into several distinct groups such as “Art”, “Education”, “Reference”, etc. Once the pages are classified, the page weights can be calculated in the same manner described above within these groups. The page weight will be more relevant for the given topic.

[0106] Although the present invention has been particularly described with reference to the embodiments thereof, it should be readily apparent to those of ordinary skill in the art that changes and modifications in the form and details thereof may be made without departing from the spirit and scope of the invention. For example, those skilled in the art will understand that variations can be made in the number and arrangement of components illustrated in the above described block diagrams. It is intended that the appended claims include such changes and modifications. 

What is claimed:
 1. A Web search engine, comprising: a Web page database; a crawler to fetch pages from the Web and store the pages in the Web page database; a link extractor to extract link information from the pages; a URL management system to assign an identification number to the URL of each page, and store the identification number and URL pairs in the Web page database and send new URLs to the crawler to be retrieved from the Web; anchor text and link database; an anchor text and link extractor to extract the anchor text and the link information from the pages and store in the anchor text and link database; indexed database; an indexer to parse keywords from the pages and store the keyword and URL identification pairs in the indexed database; and a ranker to rank a page based on intrinsic rank and extrinsic rank of the page.
 2. The Web search engine of claim 1, wherein the ranker determines the intrinsic rank from content information in the indexed database and the page weight computed from the link information in anchor text and link database, and the extrinsic rank from the anchor text information in the anchor text and link database and the computed page weight.
 3. The Web search engine of claim 1, wherein the ranker determines the intrinsic rank of the page based on the content score and the page weight.
 4. The Web search engine of claim 1, wherein the ranker determines the extrinsic rank of the page based on the anchor weight of each inbound link and the page weight of the originating page.
 5. The Web search engine of claim 1, wherein the ranker determines the anchor weight based on the link weight and the keyword being present in the anchor text or related text.
 6. The Web search engine of claim 1, wherein the ranker calculates the intrinsic rank and extrinsic rank of a page for a multi-keyword query, wherein the intrinsic rank is a function of content score and the page weight, the extrinsic rank of the page is a function of the partial extrinsic ranks and proximity values.
 7. The Web search engine of claim 1, further comprising a page weight generator and a page weight database, computing page weights by initializing a page weight vector to a constant, constructing a connectivity graph representing the link structure of the fetched pages, computing an output page weight vector from the input page weight vector and the connectivity graph, and comparing the output page weight vector with the input page weight vector and if convergence is reached, writing the output page weight vector in a page weight database, and if not, mixing the input and output page weight vectors to generate a new input page weight vector and repeating until convergence is reached.
 8. A computer system for ranking search results from a query on a collection of hypertext pages, comprising: a crawler to fetch pages from the collection of hypertext pages; a link extractor to extract page locator information from the fetched pages; a page locator management system for storing and retrieving the page locator information; a page database to store the pages; an indexer to parse keywords from the pages and store the keyword page locator pairs in the indexed database; an anchor text and link extractor to extract the anchor text and link structures from the pages; an anchor text and link database, wherein the anchor text and link extractor writes the anchor text and link structures into the anchor text and link database; and a ranker to assign a rank value to a page based on intrinsic and extrinsic rank.
 9. The system of claim 8, wherein the ranker assigns an intrinsic rank to the page based on a combination of content score and page weight.
 10. The system of claim 8, wherein the ranker assigns the content score to the page for a keyword based on a combination of location, frequency, and/or font size of the keyword in the page.
 11. The system of claim 8, wherein the ranker assigns a page weight to the page as the probability of a searcher visiting the page when traveling in the collection of hypertext pages in a random fashion.
 12. The system of claim 8, wherein the ranker assigns a uniform value corresponding to the reciprocal of the total number of links outbound from an originating page to link weight.
 13. The system of claim 8, wherein the ranker assigns link weight based on location of the link.
 14. The system of claim 8, wherein the ranker assigns an extrinsic rank to the page for a given keyword as a combination of anchor weight of the links from other pages and the page weight of referring pages.
 15. The system of claim 8, wherein the ranker assigns a rank value to a page for a multi-keyword query as a combination of intrinsic rank and extrinsic rank for the multi-keyword.
 16. The system of claim 8, wherein the ranker assigns an intrinsic rank to a page for a multi-keyword query as a combination of content score and page weight.
 17. The system of claim 8, wherein the ranker assigns a content score to a page for a multi-keyword query as a combination of content score based on intersection of the given keywords and proximity value.
 18. The system of claim 8, wherein the ranker assigns a partial extrinsic rank for each variation of identical anchor text.
 19. The system of claim 8, wherein the ranker assigns a extrinsic rank to a page for a multi-keyword query as a combination of partial extrinsic rank of identical anchor text and proximity values in each anchor text.
 20. The system of claim 8, wherein the ranker obtains a link connectivity graph of the pages.
 21. The system of claim 8, wherein the ranker obtains the rank values from the link connectivity graph.
 22. The system of claim 8, wherein the ranker calculates the page weight by iterative numerical procedure.
 23. The system of claim 8, wherein the ranker accelerates the convergence of the iterative numerical procedure in obtaining connectivity rank scores.
 24. The system of claim 8, wherein the ranker calculates rank values by dividing the pages into distinct number of groups.
 25. The system of claim 8, further comprising a rate controller to control the rate of request for page retrieval.
 26. The system of claim 8, wherein the Web page database stores the pages in a fixed record large enough to contain a predetermined percentage of all of the pages, wherein if the page is smaller, the fixed record has some empty space, and if the page is larger, the Web page database stores as much of the page as possible in the fixed record and the rest in a record file. 